<template>
    <p>{{ msg }}</p>
</template>
<script>
export default{
    data(){
        return {
            msg: "Hello World"
        }
    },

    beforeCreate(){
        console.log("组件创建之前")
    },
    created(){
        console.log("组件成功创建")
    }
}
</script>